<?php
define("HOST", "localhost");
define("USERNAME", "root");
define("PASSWORD", "");
define("DATABASE", "igualokut");

function database_connect()
{
	mysql_connect(HOST, USERNAME, PASSWORD);
	mysql_select_db(DATABASE);
}

function database_query($query)
{
	return mysql_query($query);
}

function database_num_rows($result)
{
	return mysql_num_rows($result);
}
?>
